import xlrd
import xlwt
# #随便读取一个excel表
# xlsx=xlrd.open_workbook('删除线问题.xlsx')
# #根据表名进行打开
# table=xlsx.sheet_by_index(0)
# #根据表名进行提取
# # table=xlsx.sheet_by_name('Sheet1')
# print(table.cell_value(1,2))
# print(table.cell(1,2).value)
# print(table.row(1)[2].value)

#新建一个
new_workbook=xlwt.Workbook()
#表名不写默认是sheet1
worksheet=new_workbook.add_sheet('new_test')
worksheet.write(0,0,'test')
new_workbook.save('test.xls')